.class public Lcom/estrongs/android/pop/app/cleaner/b;
.super Lcom/estrongs/android/pop/app/cleaner/a;
.source "CleanController.java"


# instance fields
.field private d:Landroidx/recyclerview/widget/RecyclerView;

.field private e:Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

.field private f:Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;

.field private g:[I

.field private h:Lcom/estrongs/android/ui/animation/MyLinearLayoutManager;

.field private i:Z


# direct methods
.method public constructor <init>(Lcom/estrongs/android/pop/esclasses/ESActivity;Lcom/estrongs/android/view/q;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/cleaner/a;-><init>(Lcom/estrongs/android/pop/esclasses/ESActivity;Lcom/estrongs/android/view/q;)V

    const/4 p1, 0x2

    new-array p1, p1, [I

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->g:[I

    const/4 p1, 0x0

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->i:Z

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {p1}, Lcom/estrongs/android/view/q;->O0()Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {p1}, Lcom/estrongs/android/view/q;->M0()Lcom/estrongs/android/ui/animation/MyLinearLayoutManager;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->h:Lcom/estrongs/android/ui/animation/MyLinearLayoutManager;

    .line 6
    new-instance p1, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;

    iget-object p2, p0, Lcom/estrongs/android/pop/app/cleaner/a;->a:Lcom/estrongs/android/pop/esclasses/ESActivity;

    invoke-direct {p1, p2}, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;-><init>(Landroid/app/Activity;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->f:Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;

    return-void
.end method

.method private a(I)F
    .locals 1

    const/16 v0, 0xc

    if-lt v0, p1, :cond_0

    const p1, 0x3f8ccccd    # 1.1f

    return p1

    :cond_0
    const/16 v0, 0xf

    if-le v0, p1, :cond_1

    const p1, 0x3f99999a    # 1.2f

    return p1

    :cond_1
    const p1, 0x3fa66666    # 1.3f

    return p1
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/cleaner/b;I)F
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/cleaner/b;->a(I)F

    move-result p0

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/cleaner/b;)Lcom/estrongs/android/ui/animation/MyLinearLayoutManager;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->h:Lcom/estrongs/android/ui/animation/MyLinearLayoutManager;

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/cleaner/b;)[I
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->g:[I

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/cleaner/b;)Landroidx/recyclerview/widget/RecyclerView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/pop/app/cleaner/b;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->i:Z

    return p0
.end method

.method private h()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->g:[I

    const v2, 0x7f07023c

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v2

    const/4 v3, 0x0

    aput v2, v1, v3

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->g:[I

    const v2, 0x7f0807ce

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v0

    const/4 v2, 0x1

    aput v0, v1, v2

    return-void
.end method


# virtual methods
.method public b()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/q;->k(Z)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f06010e

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setBackgroundColor(I)V

    return-void
.end method

.method public c()Z
    .locals 1

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->i:Z

    return v0
.end method

.method public d()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->f:Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;

    const/4 v1, 0x1

    const-string v2, "clean_result"

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->a(Ljava/lang/String;Z)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->P0()Lcom/estrongs/android/ui/view/ScanProgressView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/ScanProgressView;->d()V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVerticalScrollBarEnabled(Z)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->removeAllViews()V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    const-wide/16 v2, 0x0

    invoke-virtual {v0, v2, v3}, Lcom/estrongs/android/view/q;->d(J)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->S0()V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->G0()V

    .line 9
    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->i:Z

    .line 10
    invoke-static {}, Les/im;->a()Les/im;

    move-result-object v0

    const-string v1, "clean"

    invoke-virtual {v0, v1}, Les/im;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->L0()Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/pop/app/cleaner/b$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/cleaner/b$c;-><init>(Lcom/estrongs/android/pop/app/cleaner/b;)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    return-void
.end method

.method public e()V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/q;->k(Z)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/estrongs/android/view/q;->l(Z)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->I0()Landroid/widget/TextView;

    move-result-object v0

    if-eqz v0, :cond_0

    const/16 v3, 0x8

    .line 4
    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 5
    invoke-virtual {v0}, Landroid/widget/TextView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 6
    instance-of v4, v0, Landroid/widget/RelativeLayout;

    if-eqz v4, :cond_0

    .line 7
    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 8
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setVerticalScrollBarEnabled(Z)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, v2}, Landroidx/recyclerview/widget/RecyclerView;->setClipToPadding(Z)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->Q0()V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/cleaner/b;->g:[I

    aget v3, v3, v1

    invoke-virtual {v0, v2, v3, v2, v2}, Landroid/view/ViewGroup;->setPadding(IIII)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 13
    instance-of v3, v0, Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    if-eqz v3, :cond_1

    .line 14
    check-cast v0, Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->e:Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 15
    iput-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->e:Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    .line 16
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->e:Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;->getItemCount()I

    move-result v0

    if-ge v1, v0, :cond_2

    .line 17
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/cleaner/b;->h()V

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v3, 0x7f0807cf

    invoke-virtual {v1, v3}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 19
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->a:Lcom/estrongs/android/pop/esclasses/ESActivity;

    const v1, 0x7f090179

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->a:Lcom/estrongs/android/pop/esclasses/ESActivity;

    const v1, 0x7f090756

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :cond_2
    return-void
.end method

.method public f()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->e:Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;->getItemCount()I

    move-result v0

    :goto_0
    if-nez v0, :cond_1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->P0()Lcom/estrongs/android/ui/view/ScanProgressView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/ScanProgressView;->d()V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->L0()Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/pop/app/cleaner/b$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/cleaner/b$a;-><init>(Lcom/estrongs/android/pop/app/cleaner/b;)V

    const-wide/16 v2, 0xc8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_1

    .line 4
    :cond_1
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v1

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v3

    invoke-virtual {v3, v1, v2}, Lcom/estrongs/android/pop/o;->b(J)V

    .line 6
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/o;->b()V

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {v1}, Lcom/estrongs/android/view/q;->L0()Landroid/os/Handler;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/cleaner/b$b;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/pop/app/cleaner/b$b;-><init>(Lcom/estrongs/android/pop/app/cleaner/b;I)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :goto_1
    return-void
.end method

.method public g()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-virtual {v0}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    const/16 v1, 0x8

    if-eqz v0, :cond_1

    const v2, 0x7f090179

    .line 3
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v3

    if-eqz v3, :cond_1

    .line 4
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    if-eqz v0, :cond_2

    const v2, 0x7f090756

    .line 5
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v3

    if-eqz v3, :cond_2

    .line 6
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 7
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setBackgroundResource(I)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0700a6

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v2

    invoke-virtual {v0, v1, v2, v1, v1}, Landroid/view/ViewGroup;->setPadding(IIII)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    if-eqz v0, :cond_3

    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->f:Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;

    if-eqz v1, :cond_3

    .line 10
    invoke-virtual {v0}, Lcom/estrongs/android/view/q;->J0()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;->a(J)V

    .line 11
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/b;->f:Lcom/estrongs/android/pop/app/cleaner/CleanResultCmsAdapter;

    if-eqz v0, :cond_4

    .line 12
    iget-object v1, p0, Lcom/estrongs/android/pop/app/cleaner/b;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    :cond_4
    return-void
.end method
